<?php
@session_start();
/**
 *@desc : Definie error level  
 */
define("ACL_ENABLE",true);
error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING);
define("ACL_ID" , "role_id");

$_SESSION["role_id"] = 1 ;
 /**
 *@desc:Directory seperator  
 */
define('DS',DIRECTORY_SEPARATOR);
/**
 *@desc:This variable define root path
 */
define("ROOT",  getcwd());
/**
 *@desc: Define Magic PHP Library Folder path over here 
 */
define("MAGICPHP_LIB_PATH",dirname(dirname(__FILE__)).DS." magicphplibraray".DS);
/**
 *@desc:This variable user to render model view and controller
 */
define("INCLUDE_PATH", ROOT."/application/");
/**
 *@desc:This variable is relative path of magic library   
 */
define('LIB_PATH',ROOT."/library/");
/**
 *@desc:This variable define template path 
 */
define('TEMPLATE_PATH',ROOT.'/public/templete/');
/**
 *@desc:This variable is used to define config file path . 
 */
define("CONFIG_PATH",ROOT.DS.'log'.DS.'config.ini');
/**
 *@desc:This is cache variable describe hour ,minute and second
 */
define('CACHE_HOUR',date("h"));
define('CACHE_MIN',(date("i")-30));
define('CACHE_SEC',date("m"));
/**
 *@desc :Directory seperator 
 */        
define('M_D',"model");
define('C_D',"controller");
define('V_D',"view");

/**
 *@desc : Define Default Model and Action  
 */
define("FLAG",1);
define("DEFAULT_MODEL","default");
define("DEFAULT_CONTROLLER","index");
define("DEFAULT_ACTION","index");
/**
 *@desc: Include bootstrap class and load file from here . 
 */
 
include 'public/bootstrap.php';

?>